package com.ruoyi.order.domain;

import com.ruoyi.customer.domain.CustomerUser;
import com.ruoyi.common.core.domain.CashEntity;
import com.ruoyi.market.domain.ConfigBase;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 分销提现订单 tb_order_cash_distribution
 *
 * @author ruoyi
 */
public class OrderCashDistribution extends CashEntity
{
    private static final long serialVersionUID = 1L;

    private CustomerUser customerUser;

    /** 所属店铺信息   */
    private ConfigBase shopInfo;

    public OrderCashDistribution()
    {

    }

    public CustomerUser getCustomerUser() { return customerUser; }

    public void setCustomerUser(CustomerUser customerUser)
    {
        this.customerUser = customerUser;
    }

    public ConfigBase getShopInfo()
    {
        return shopInfo;
    }

    public void setShopInfo(ConfigBase shopInfo)
    {
        this.shopInfo = shopInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderNo", getOrderNo())
            .append("userId", getUserId())
            .append("shopId", getShopId())
            .append("amount", getAmount())
            .append("status", getStatus())
            .append("qrCode", getQrCode())
            .append("wxId", getWxId())
            .append("realName", getRealName())
            .append("auditRemark", getAuditRemark())
            .append("customerUser", getCustomerUser())
            .append("shopInfo", getShopInfo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
